package com.community.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.community.entity.Right;
import com.community.entity.Role;

import java.util.List;

/**
 * (Role)表数据库访问层
 *
 * @author makejava
 * @since 2021-11-01 08:01:05
 */
public interface RoleDao extends BaseMapper<Role> {

    List<Right> findRightsByRolesOrderByRightCode(Role role);
}

